﻿using EkStudio.com.bean.xml.reflection;
using System;


namespace EkStudio.com.bean.xml.ProjectVersion
{
    public class ProjectDBSourceElement
    {
        private String _name = "";
        private String _type = "";
        private String _default_ = "Y";
        private String _ipAdd = "";
        private String _port = "";
        private String _server = "";
        private String _user = "";
        private String _password = "";

        [Xml("name")]
        public string Name
        {
            get
            {
                return _name;
            }

            set
            {
                _name = value;
            }
        }
        [Xml("type")]
        public string Type
        {
            get
            {
                return _type;
            }

            set
            {
                _type = value;
            }
        }
        [Xml("default")]
        public string Default_
        {
            get
            {
                return _default_;
            }

            set
            {
                _default_ = value;
            }
        }
        [XmlElement("ipAdd")]
        public string IpAdd
        {
            get
            {
                return _ipAdd;
            }

            set
            {
                _ipAdd = value;
            }
        }
        [XmlElement("port")]
        public string Port
        {
            get
            {
                return _port;
            }

            set
            {
                _port = value;
            }
        }
        [XmlElement("server")]
        public string Server
        {
            get
            {
                return _server;
            }

            set
            {
                _server = value;
            }
        }
        [XmlElement("user")]
        public string User
        {
            get
            {
                return _user;
            }

            set
            {
                _user = value;
            }
        }
        [XmlElement("password")]
        public string Password
        {
            get
            {
                return _password;
            }

            set
            {
                _password = value;
            }
        }
    }
}
